package cn.songtx.iot.service;

import cn.songtx.iot.pojo.SysUserFamily;
import cn.songtx.iot.vo.UserFamilyVO;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface ISysUserFamilyService extends IService<SysUserFamily> {

    // 自定义Service接口,根据Owner查询家庭关系
    List<UserFamilyVO> selectUserFamilyListByOwner(Long sysUserId);
    // 自定义Service接口,根据User查询家庭关系
    List<UserFamilyVO> selectUserFamilyListByUser(Long sysUserId);
}
